Process
and Thread Syntax
You can
specify a process in the following ways:
Symbol |
Description |
|
|. |
The current
process. |
|
|number |
The process
number. |
|
|* |
All
processes. |
|
You can
specify a thread in the following ways:
Symbol |
Description |
|
~. |
The current
thread. |
|
~number |
The thread
ID. |
|
~* |
All
threads. |
|
If you do not
specify a process or thread with a command, the command will act on the current
process or thread. To set the current process or thread, enter a process or
thread specifier alone on a command line.
To display
the state of the processes or threads, type pipeline (|) or tilde (~) alone on
the command line.
In kernel
debugging, threads represent the physical processors of the target computer: a
two-processor computer would have two threads, one for each processor. The
single process represents the target computer itself.